<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Banner extends Model
{
    protected function banneritem(){
        return $this->hasMany(Banneritem::class,'banner_id');
    }
}
